package com.zoffy.ybuhelper.database;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class DBHelper extends SQLiteOpenHelper {
    private static final String DB_Name= "YBU.db";
    private static final Integer DBVertion=1;
    public static DBHelper mHelper=null;
    private DBHelper(Context context){
        super(context,DB_Name,null,DBVertion);
    }
    public static DBHelper getInstance(Context context){
        if(mHelper==null){
            mHelper=new DBHelper(context);
        }
        return mHelper;
    }
    @Override
    public void onCreate(SQLiteDatabase db) {

    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }

}
